home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 72 / Cine Live 72.iso / pc / Data / Interface / av6.k < prev    next >
Encoding:
Text File  |  2003-08-04  |  5.1 KB  |  234 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$000000D3,$00000049,$000002D0,$00000280,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$000000C9,$000000A2,$0000037B,$00000368,$00000026,$00000080,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         obouton_sommaire4,
  18.         obouton_retour5,
  19.         obouton_lancer6,
  20.         oVid_o7
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with Flags is $00000004; 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Flags is $00000004; Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o7; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Flags is $00000150; 
  64.     Name is "Music"; 
  65.     
  66.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  67.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  68.     Looping is true; 
  69.     URL is "data/Sons/2.mp3"; URLOption is GetDiskURL; 
  70.     
  71. end;
  72.  
  73. object ofond3 is cImage
  74. with 
  75.     Name is "fond"; 
  76.     Enabled is false; 
  77.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  78.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  79.     
  80.     URL is "data/Images/a6.jpg"; URLOption is GetDiskURL; 
  81.     
  82.     
  83. end;
  84.  
  85. object obouton_sommaire4 is cImage
  86. with 
  87.     Flags is $00000150; 
  88.     Name is "bouton sommaire"; 
  89.     Shown is false; Cursor is oFingerCursor; 
  90.     X is 629; Y is 573; 
  91.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  92.     
  93.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  94.     
  95.     
  96.     Events is [
  97.         cMouseEnterEvent
  98.         with Flags is $00000004; 
  99.             Commands is [
  100.                 cShowCommand
  101.                 with Flags is $00000004; Target is obouton_sommaire4; end
  102.             ];
  103.         end,
  104.         cMouseLeaveEvent
  105.         with Flags is $00000004; 
  106.             Commands is [
  107.                 cShowCommand
  108.                 with Flags is $00000004; Target is obouton_sommaire4; Mode is Clear; end
  109.             ];
  110.         end,
  111.         cMouseUpEvent
  112.         with Flags is $00000004; Flag is true; 
  113.             Commands is [
  114.                 cBrowseCommand
  115.                 with Flags is $00000004; URL is "data/Interface/sommaire.k"; URLOption is GetDiskURL; end
  116.             ];
  117.         end
  118.     ];
  119. end;
  120.  
  121. object obouton_retour5 is cImage
  122. with 
  123.     Name is "bouton retour"; 
  124.     Shown is false; Cursor is oFingerCursor; 
  125.     X is 321; Y is 573; 
  126.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  127.     
  128.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  129.     
  130.     
  131.     Events is [
  132.         cMouseEnterEvent
  133.         with 
  134.             Commands is [
  135.                 cShowCommand
  136.                 with Target is oTargetSelf; end
  137.             ];
  138.         end,
  139.         cMouseLeaveEvent
  140.         with 
  141.             Commands is [
  142.                 cShowCommand
  143.                 with Target is oTargetSelf; Mode is Clear; end
  144.             ];
  145.         end,
  146.         cMouseUpEvent
  147.         with Flag is true; 
  148.             Commands is [
  149.                 cBackCommand
  150.                 with end
  151.             ];
  152.         end
  153.     ];
  154. end;
  155.  
  156. object obouton_lancer6 is cImage
  157. with 
  158.     Name is "bouton lancer"; 
  159.     Shown is false; Cursor is oFingerCursor; 
  160.     X is 475; Y is 573; 
  161.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  162.     
  163.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  164.     
  165.     
  166.     Events is [
  167.         cMouseEnterEvent
  168.         with 
  169.             Commands is [
  170.                 cShowCommand
  171.                 with Target is oTargetSelf; end
  172.             ];
  173.         end,
  174.         cMouseLeaveEvent
  175.         with 
  176.             Commands is [
  177.                 cShowCommand
  178.                 with Target is oTargetSelf; Mode is Clear; end
  179.             ];
  180.         end,
  181.         cMouseUpEvent
  182.         with Flag is true; 
  183.             Commands is [
  184.                 cRunCommand
  185.                 with Target is oMusic2; Mode is Clear; Rewind is true; end,
  186.                 cShowCommand
  187.                 with Target is oVid_o7; end,
  188.                 cEnableCommand
  189.                 with Target is oVid_o7; end,
  190.                 cRunCommand
  191.                 with Target is oVid_o7; Rewind is true; end
  192.             ];
  193.         end
  194.     ];
  195. end;
  196.  
  197. object oVid_o7 is cMPEGMovie
  198. with 
  199.     Flags is $00000150; 
  200.     Name is "Vid\$E9o"; 
  201.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  202.     
  203.     Width is 800; Height is 600; 
  204.     
  205.     URL is "data/Videos/a6.mpg"; URLOption is GetDiskURL; 
  206.     Events is [
  207.         cFinishedEvent
  208.         with Flags is $00000004; 
  209.             Commands is [
  210.                 cEnableCommand
  211.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  212.                 cShowCommand
  213.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  214.                 cRunCommand
  215.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  216.                 cRunCommand
  217.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  218.             ];
  219.         end,
  220.         cMouseUpEvent
  221.         with Flags is $00000004; Flag is true; 
  222.             Commands is [
  223.                 cEnableCommand
  224.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  225.                 cShowCommand
  226.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  227.                 cRunCommand
  228.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  229.                 cRunCommand
  230.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  231.             ];
  232.         end
  233.     ];
  234. end;